﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace EEPClientUpdate
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            try
            {
                string last = System.DateTime.Now.ToString("yyyy-MM-dd hh:mm");
                if (args.Length>= 2)                
                    last = args[0] + " " + args[1];
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                Application.Run(new frmUpdate(last));
            }
            catch(Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
    }
}